package com.hibase.core.page.entity.modulexml;

import com.hibase.core.page.entity.window.ParamsXmlVo;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Data;

/**
 * 描述:
 *
 * @author li-wei-hua
 * @date 2021-04-13 16:09
 */
@Data
public class ModuleAttachmentXmlVO {

	@XStreamAsAttribute
	@XStreamAlias("dataIndex")
	private String dataIndex;

	@XStreamAsAttribute
	@XStreamAlias("title")
	private String title;
	
	@XStreamAsAttribute
	@XStreamAlias("fileBizType")
	private String fileBizType;

	@XStreamAsAttribute
	@XStreamAlias("hidden")
	private String hidden;

	@XStreamAsAttribute
	@XStreamAlias("maxLength")
	private Integer maxLength;
	
	@XStreamAsAttribute
	@XStreamAlias("fileCount")
	private Integer fileCount;
	
	@XStreamAsAttribute
	@XStreamAlias("fileType")
	private String fileType;
	
	@XStreamAsAttribute
	@XStreamAlias("fileSize")
	private String fileSize;
	
	@XStreamAsAttribute
	@XStreamAlias("readyOnly")
	private String readyOnly;

	@XStreamAsAttribute
	@XStreamAlias("row")
	private Integer row;

	@XStreamAsAttribute
	@XStreamAlias("col")
	private Integer col;

	@XStreamAsAttribute
	@XStreamAlias("span")
	private Integer span;

	/**
	 * type:import导入(导入是不支持) attachment附件(支持预览)
	 */
	@XStreamAsAttribute
	@XStreamAlias("type")
	private String type;
	
	@XStreamAsAttribute
	@XStreamAlias("required")
	private String required;

	/**
	 * 消息提示
	 */
	@XStreamAsAttribute
	@XStreamAlias("placeholder")
	private String placeholder;
	
	 /**
     * 列表支持参数传递
     */
    @XStreamAsAttribute
	@XStreamAlias("param")
	private String param;
	
	@XStreamAlias("params")
	private ParamsXmlVo params;
}
